package com.gxa.entity.commserve;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:18:00
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_complaints_suggestions")
@ApiModel(value = "ComplaintsSuggestions对象", description = "")
public class ComplaintsSuggestions implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键 ")
    @TableId(value = "complaints_id", type = IdType.AUTO)
    private Integer complaintsId;

    @ApiModelProperty(value = "建议类型 ")
    @TableField("suggestion_type")
    private String suggestionType;

    @ApiModelProperty(value = "建议内容 ")
    @TableField("suggested_content")
    private String suggestedContent;

    @ApiModelProperty(value = "建议时间")
    @TableField("suggested_time")
    private Date suggestedTime;


    @ApiModelProperty(value = "状态(0:待处理,1:已完成)")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "投诉人 ")
    @TableField("complainant")
    private String complainant;

    @ApiModelProperty(value = "联系电话")
    @TableField("contact_number")
    private String contactNumber;

    @ApiModelProperty(value = "假删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;
}
